package com.young.server;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * Created by Administrator on 2019/12/23 0023.
 */
@EnableEurekaServer
@SpringBootApplication
public class ServerCenterApplication {

    private static final Logger logger = LoggerFactory.getLogger(ServerCenterApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ServerCenterApplication.class, args);
        logger.info("[服务中心] 服务中心启动完成.");
    }
}
